<style>
.fui-tab.fui-tab-danger a.active {
    border-color: #18bc9c;
}
</style>
<div class='fui-page fui-page-current'>
	<div class='fui-content member-page' style="padding-bottom:3rem">
			<div style="margin:0.5rem;">
					<div class="memlogo-area" style="background: #55bd47;">
						<div class="memlogo">
							<img ng-src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/gw-user.png'}}">
						</div>
						<div class="name">{{pagedata.member.nickname || '匿名'}}</div>
						<br>
						<div class="name">{{pagedata.member.mobile || '无手机号'}}</div>
						<div class="bot">
							<div class="jy-2" style="width:40%;">
							<h5>机器人参与次数</h5>
							<h2 style="margin-top:0">{{pagedata.member.ainum || '0'}}</h2>
							</div>
						</div>
					</div>
			</div>
			<div style="padding:0 0.5rem">
			<div class="fui-tab fui-tab-danger">
				<a ng-class="{'external active':pagedata.params.type == '0'}" href="javascript:" ng-click="pagedata.params.type='0';tool.get_list('jy_guashop/ailog/getlist/',true);">我的机器人</a>
				<a ng-class="{'external active':pagedata.params.type == '1'}" href="javascript:" ng-click="pagedata.params.type='1';tool.get_list('jy_guashop/ailog/getlist/',true);">参与记录</a>
			</div>
			<div class='content-empty' ng-show="!pagedata.list || pagedata.list.length<=0">
				<i class='fa fa-comment-o'></i><br/>暂时没有任何记录!
			</div>
			<div class='fui-list-group container' ng-show="pagedata.list.length>0" >
				<div ng-if="pagedata.params.type != '1'" class="fui-list goods-item" ng-repeat="item in pagedata.list">
					<div ng-click="access_json('/aiset//cangid='+item.cangid)" class="fui-list-inner">
						<div class='title bold'>
							{{item.cang.title}}
						</div>
						<div>
							消耗茶豆<span class="red" style="margin-left:0.3rem">{{item.payfee}}</span>
							<span class="gray" style="font-size:0.6rem;"> 个</span>
						</div>
						<div>
							消耗积分<span class="red" style="margin-left:0.3rem">{{item.payjifen}}</span>
							<span class="gray" style="font-size:0.6rem;"> 个</span>
						</div>
					</div>
					<div class='fui-list-angle'>
						<span class='label label-success' style="border-radius:0.2rem;">{{item.statustitle}}</span>
					</div>
				</div>
				<div ng-if="pagedata.params.type == '1'" class="fui-list goods-item" ng-repeat="item in pagedata.list">
					<div class="fui-list-inner">
						<div class='title'>
							<span class="label label-success">{{item.typetitle}}</span>
							<span class="red" style="margin-left:0.3rem">{{item.fee}}</span>
							<span class="gray" style="font-size:0.6rem;"> 个</span>
						</div>
						<div class='gray'>{{item.createtime}}</div>
					</div>
					<div class='fui-list-angle'>
						<span class='fui-label fui-label-default gray' style="background:#f2f2f2;border-radius:0.2rem;">{{item.remark}}</span>
					</div>
				</div>
			</div>
			</div>
	</div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.tool.get_list('jy_guashop/ailog/getlist/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_guashop/ailog/getlist/');
}
</script>